home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / cordin.zip / CORDINE.H < prev    next >
Text File  |  1993-05-05  |  2KB  |  79 lines

  1. /* cordine.h ... freeware button accordion dialog example
  2.  * jack j. woehr p.o. box 51, golden co 80402-0051
  3.  * jax@well.sf.ca.us JAX on GEnie 72203.1320@compuserve.com
  4.  * SYSOP, RealTime Control & Forth Board [RCFB] (303) 278-0364
  5.  */
  6.  
  7. #define IDM_LO_C                    101
  8. #define IDM_LO_G                    102
  9. #define IDM_C                       103
  10. #define IDM_G                       104
  11. #define IDM_LO_D                    105
  12. #define IDM_LO_A                    106
  13. #define IDM_D                       107
  14. #define IDM_A                       108
  15. #define IDM_LO_E                    109
  16. #define IDM_LO_BFLAT                110
  17. #define IDM_E                       111
  18. #define IDM_BFLAT                   112
  19. #define IDM_LO_F                    113
  20. #define IDM_LO_B                    114
  21. #define IDM_F                       115
  22. #define IDM_B                       116
  23. #define IDM_HI_C                    117
  24. #define IDM_HI_G                    118
  25. #define IDM_HI_D                    119
  26. #define IDM_HI_A                    120
  27. #define IDM_HI_E                    121
  28. #define IDM_HI_BFLAT                122
  29. #define IDM_HI_F                    123
  30. #define IDM_HI_B                    124
  31. #define IDM_DURATION                125
  32.  
  33. #define IDMSC_ABOUT        999
  34. #define ABOUT_OK1        105
  35. #define ABOUT_OK2        106
  36.  
  37. #define IDMSC_HELP        888
  38. #define IDMSC_BAYOU        101
  39.  
  40. #define TONE_LO_C        262
  41. #define TONE_LO_D        293
  42. #define TONE_LO_E        329
  43. #define TONE_LO_F        348
  44. #define TONE_LO_G        391
  45. #define TONE_LO_A        440
  46. #define TONE_LO_BFLAT    465
  47. #define TONE_LO_B        493
  48.  
  49. #define TONE_C            522
  50. #define TONE_D            586
  51. #define TONE_E            657
  52. #define TONE_F            696
  53. #define TONE_G            780
  54. #define TONE_A            880
  55. #define TONE_BFLAT        932
  56. #define TONE_B            988
  57.  
  58. #define TONE_HI_C        1045
  59. #define TONE_HI_D        1173
  60. #define TONE_HI_E        1314
  61. #define TONE_HI_F        1392
  62. #define TONE_HI_G        1561
  63. #define TONE_HI_A        1760
  64. #define TONE_HI_BFLAT    1864
  65. #define TONE_HI_B        1974
  66.  
  67. // HWND CordineWindow;
  68. int duration = 250 ; // 50 ms is fastest note we'll play
  69.                     // int because it's loaded from WM_HSCROLL, we'll cast for Beep()
  70.  
  71. BOOL InitApplication(HANDLE);
  72. BOOL InitInstance(HANDLE, int);
  73. LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
  74. LRESULT CALLBACK CordineProc (HWND, UINT, WPARAM, LPARAM);
  75. LRESULT CALLBACK AboutProc ( HWND, UINT, WPARAM, LPARAM);
  76. LRESULT CALLBACK HelpProc ( HWND, UINT, WPARAM, LPARAM);
  77.  
  78.  
  79.